home *** CD-ROM | disk | FTP | other *** search
-
- #ifndef _MACDEFS_
- #define _MACDEFS_ 1
-
- #include <memory.h>
- /*
- * Redefinitions from Windows.h
- */
-
- #include "WindowsUtilities.h"
-
- /* 950317 KO Added for QuikTest */
-
-
- #define AllocateMemory NewPtr
- #define ReleaseMemory(a) DisposPtr((Ptr) a)
-
-
- /* 950317 KO Created these defines to facilitate porting to the Macintosh. */
-
- /* CALLBACK needs to be looked up. */
- #define CALLBACK
-
- #define int_FAR_PASCAL pascal int
- #define BOOL_FAR_PASCAL pascal BOOL
- #define VOID_FAR_PASCAL pascal void
- #define void_FAR_PASCAL pascal void
- #define LPSTR_FAR_PASCAL pascal LPSTR
- #define char_FAR_PASCAL pascal char
-
- #define BOOL_EXTFUNCDECL_FAR BOOL
- #define VOID_WINAPI pascal void
- #define BOOL_CALLBACK BOOL CALLBACK
- #define void_CALLBACK void CALLBACK
- /*
- * Redefinitions from portable.h
- */
-
- /* EXTFUNCDECL is for an external C Function. */
- #define EXTFUNCDECL
-
- /* EXTFUN is for an external _export FAR PASCAL routine in Windows */
- #define EXTFUN pascal
- #define INTFUN
-
- #define SYSTEMTIME struct tm
-
- typedef SYSTEMTIME TIMEINFO;
- typedef TIMEINFO * lpTIMEINFO;
-
- /*
- * Redefinitions from inhouse.h
- */
-
- #define CSCONST
-
-
- #endif
-